package com.efun.framework.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author  kinven on 17/7/9.
 */
@ConfigurationProperties(prefix = "efun.beetlsql")
public class BeetlsqlProperties {

    private String basePackage = "com.efun"; //默认直接使用com.efun包
    private String daoSuffix = "Dao"; // 默认使用dao结尾的Mapper
    private String sqlLoaderPath = "/sql"; //默认使用sql文件夹
    private String dbStyle = "mysql"; //默认使用mysql；
    private String interceptors = "";


    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getDaoSuffix() {
        return daoSuffix;
    }

    public void setDaoSuffix(String daoSuffix) {
        this.daoSuffix = daoSuffix;
    }

    public String getSqlLoaderPath() {
        return sqlLoaderPath;
    }

    public void setSqlLoaderPath(String sqlLoaderPath) {
        this.sqlLoaderPath = sqlLoaderPath;
    }

    public String getDbStyle() {
        return dbStyle;
    }

    public void setDbStyle(String dbStyle) {
        this.dbStyle = dbStyle;
    }


    public String getInterceptors() {
        return interceptors;
    }

    public void setInterceptors(String interceptors) {
        this.interceptors = interceptors;
    }
}
